#include<bits/stdc++.h>
using namespace std;
int n,t;
vector<char>a[200010];
char b[5000010];
int main(){
	freopen("replace.in","r",stdin);
	freopen("replace.out","w",stdout);
	scanf("%d%d",&n,&t);
	for(int i=1;i<=t;i++){
		printf("1\n");
	}
}
